﻿using System.Collections.Generic;
using UnityEngine;

namespace DesignerTables
{
    public class CompInfo
    {
        public static Dictionary<string, CampInfoModel> data = new Dictionary<string, CampInfoModel>(){
            { "Player", new CampInfoModel(
                "Player",
                "我方阵营",
                "",
                1,
                new []
                {
                    new CampPowerInfo("Attack",CampPowerType.Attack,new []{"Enemy"}),
                    new CampPowerInfo("Cure",CampPowerType.Cure,new []{"Player","Friendly"}),
                    new CampPowerInfo("Span",CampPowerType.Span,new []{"Player","Friendly"})
                },
                1,
                Color.blue)},
            { "Enemy", new CampInfoModel(
                "Enemy", 
                "敌方阵营",
                "",
                0,
                new []
                {
                    new CampPowerInfo("Attack",CampPowerType.Attack,new []{"Player","Friendly"}),
                    new CampPowerInfo("Cure",CampPowerType.Cure,new []{"Enemy"}),
                    new CampPowerInfo("Span",CampPowerType.Span,new []{"Enemy"})
                },
                2,
                Color.red)},
            { "Friendly", new CampInfoModel(
                "Friendly", 
                "友军阵营",
                "",
                0,
                new []
                {
                    new CampPowerInfo("Attack",CampPowerType.Attack,new []{"Enemy"}),
                    new CampPowerInfo("Cure",CampPowerType.Cure,new []{"Player","Friendly"}),
                    new CampPowerInfo("Span",CampPowerType.Span,new []{"Player","Friendly"})
                },
                3,
                Color.green)},
        };  
    }
}